<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php exit?>
<head>
<meta charset="utf-8" />
<title>管理中心</title>
<style type="text/css">
html, body {
	overflow:hidden;
	font:normal 12px 'Microsoft Yahei';
	background:#fff;
	color:#666;
}
#login_form {
	width:300px;
	margin:100px auto;
	padding:30px;
}
#other {
	display:none;
	position:absolute;
	left:0;
	top:0;
	width:100%;
 +width:105%;
	height:30px;
	line-height:30px;
	text-align:center;
	background:#000;
}
#other a {
	color:#FFAA24
}
#other a:hover {
	color:#fff
}
#admin_name, #admin_password {
	width:250px;
	border:1px inset #ccc;
	padding:8px;
	background:#fff;
	font:normal 12px 'Microsoft Yahei';
	outline:0;
	color:#4b751d
}
#admin_name:focus, #admin_password:focus {
	background:#f0ebaf;
}
#admin_submit {
	border-radius:2px;
	border:none;
	padding:9px 15px;
	background:#333;
	font:bold 12px 'Microsoft Yahei';
	color:#fff
}
</style>
<script type="text/javascript" src="core/scripts/jquery.js"></script>
<script type="text/javascript">
function check(){
	$('#admin_submit').attr("disabled",true).val("请稍候……");
	var admin_name=$('#admin_name').val();
	var admin_password=$('#admin_password').val();
	var admin_captcha=$('#admin_captcha').val();

	if($.trim(admin_name)==''){
		alert('[管理员不能为空]');
		$('#admin_name').focus();
		$('#admin_submit').attr("disabled",false).val("重新登陆");
		return false;
	}
	if($.trim(admin_password)==''){
		alert('[管理员密码不能为空]');
		$('#admin_password').focus();
		$('#admin_submit').attr("disabled",false).val("重新登陆");
		return false;
	}
	/*
	if($.trim(admin_captcha)==''){
		alert('[验证码不能为空]');
		$('#admin_password').focus();
		return false;
	}
	*/
	return true;
}
function reload_captcha(){
	$('#captcha').attr("src","captcha.php?"+Number(new Date()));
}
$(function(){
	var isIE=('v'=='\v');
	if(isIE){
		$('#other').slideDown('slow');
	}
	$('#admin_name').focus();
});

</script>
</head>
<body>
<form action="" method="post" id="login_form" onsubmit="return check()">
  <div style="padding:5px"></div>
  <strong>管理员帐号</strong>：
  <div style="padding:3px"></div>
  <input type="text" name="admin_name"  id="admin_name" placeholder="请输入管理员帐号" autofocus required x-webkit-speech/>
  <div style="padding:3px"></div>
  <strong>密码</strong>：
  <div style="padding:3px"></div>
  <input type="password" name="admin_password" id="admin_password" placeholder="请输入密码" required x-webkit-speech/>
  <div style="padding:5px"></div>
  <input type="submit" value="立即登录" id="admin_submit"/>
</form>
<div id="other"> 温馨提示：为了保证最佳效果建议使用 <a href="http://info.msn.com.cn/ie9/" target="_blank">IE9</a>、<a href="http://www.google.com/chrome" target="_blank">谷歌浏览器(Chrome)</a>、<a href="http://www.firefox.com.cn/download/" target="_blank">火狐(FireFox5+)</a>、<a href="http://www.apple.com.cn/safari/download/" target="_blank">Safari</a>、<a href="http://www.opera.com/" target="_blank">Opera</a></div>
</body>
</html>
